package ooday02;

public class Test1 {
    public static void main(String[] args) {
        /*

        Student1 zs = new Student1("张三",18,"北京","jsd23032","001");
        zs.study();
        zs.sleep();
        zs.sayHi();

        Teacher1 ls = new Teacher1("李四",28,"上海",8000);
        ls.teach();
        ls.sayHi();

        Doctor1 ww = new Doctor1("王五",34,"天津","主任");
        ww.cut();
        ww.sayHi();

         */

        Student1 zs = new Student1("张三",18,"北京","jsd23032","001");
        zs.study();
        zs.sleep();
        zs.sayHi();

        Teacher1 ls = new Teacher1("李四",28,"上海",8000);
        ls.teach();
        ls.sayHi();

        Doctor1 ww = new Doctor1("王五",34,"天津","主任");
        ww.cut();
        ww.sayHi();



    }
}
